Ext.define('AmpleHarvest.DATA.Store.admin.TaskStatus',
{
   extend      : 'Ext.data.Store',
   requires :
   [
      'AmpleHarvest.DATA.Model.admin.cStatus'
   ],
   model    : 'AmpleHarvest.DATA.Model.admin.cStatus',
   
   autoLoad : false,
   proxy    :
   {
      type  : 'ajax',
      headers: {'x-proxy-entity': obj_config.user.userName},
      url      : obj_config.C_STR_EXTERNAL_PATH+'/rest/admin/status_Task.php',
      
      reader   :
      {
         type        : 'json',
         totalProperty  : "total",
         root        : 'data'
      }
   },
   initComponent: function()
   {
      this.callParent();
   }
}
);
